﻿using System;
using System.IO;
using ePipe;
using System.Net.Security;

namespace Letter.Net.Tcp;

internal class SslStreamDuplexPipe : DuplexPipeStreamAdapter<SslStream>
{
    public SslStreamDuplexPipe(
        IDuplexPipe<byte> transport,
        StreamPipeReaderOptions readerOptions, 
        StreamPipeWriterOptions writerOptions, 
        Func<Stream, SslStream> factory)
        : base(transport, readerOptions, writerOptions, factory)
    {
    }
}
